package com.hnu.highlynewapp.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author kLjSumi
 * @Date 2021/1/6
 */
@ApiModel("发布政策解读请求参数")
@Data
public class PublishPolicyAnalyseVo {
    /**
     * 标题
     */
    @NotBlank(message = "政策标题不能为空")
    @ApiModelProperty(value = "政策标题",required = true)
    private String title;
    /**
     * 分类
     */
    @NotBlank(message = "分类不能为空")
    @ApiModelProperty(value = "分类",required = true)
    private String category;
    /**
     * 简介
     */
    @NotBlank(message = "简介不能为空")
    @ApiModelProperty(value = "简介",required = true)
    private String introduction;
    /**
     * 视频
     */
    @ApiModelProperty(value = "视频")
    private String video;
    /**
     * 链接
     */
    @ApiModelProperty(value = "链接")
    private String link;
    /**
     * 科技主管部门id
     */
    @NotNull(message = "科技主管部门id不能为空")
    @ApiModelProperty(value = "科技主管部门id",required = true)
    private Long departmentId;
}
